home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK2.toast / Development Kits / USBDDK_v1.0.1_updated / Examples / USBTabletModule / USBTabletModule.make < prev    next >
Encoding:
Text File  |  1998-09-29  |  2.8 KB  |  95 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        USBTabletModule.make
  3. #
  4. #    Contains:    Make for for USB Tablet HID module
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #    File Ownership:
  11. #
  12. #        DRI:                Craig Keithley
  13. #
  14. #        Other Contact:        xxx put other contact here xxx
  15. #
  16. #        Technology:            xxx put technology here xxx
  17. #
  18. #    Writers:
  19. #
  20. #        (CJK)    Craig Keithley
  21. #
  22. #    Change History (most recent first):
  23. #
  24. #
  25.  
  26. MAKEFILE     = USBTabletModule.make
  27. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  28. Includes     = -i {USBInterfacesInternal},{USBInterfacesExternal}
  29. Sym•PPC      = -sym on 
  30. USBTabletModuleTarget    = {USBTargets}Drivers:USBHIDUSBTabletModule
  31.  
  32. PPCCOptions  = {Includes} {Sym•PPC}   {NeptuneCOptions}
  33.  
  34. LinkPPC        =    PPCLink
  35.  
  36. Objects•PPC    =    "{USBObjects}USBTabletModule.c.o"                ∂
  37.                 "{USBObjects}USBTabletModuleHeader.c.o"         ∂
  38.                 "{USBObjects}USBTabletModuleCDM.c.o"
  39.                 
  40. USBTabletModule ƒƒ "{USBReleaseExtensions}USBHIDUSBTabletModule"  
  41.  
  42. "{USBReleaseExtensions}USBHIDUSBTabletModule" ƒ  "{USBTabletModuleTarget}" 
  43.         duplicate -y "{USBTabletModuleTarget}"  {Targ}
  44.         
  45. {USBTabletModuleTarget}    ƒƒ    {•MondoBuild•}  {Objects•PPC}     "{USBInterfacesInternal}USBHIDModule.exp"
  46.     delete -i "{Targ}.xcoff"
  47.     delete -i "{Targ}.dbg"
  48.     {LinkPPC}                                                ∂
  49.         -map "{USBMapDir}USBHIDUSBTabletModule.map"                 ∂
  50.         -t 'ndrv'                                            ∂
  51.         -c 'usbd'                                            ∂
  52.         -o {USBTabletModuleTarget} {Sym•PPC}                     ∂
  53.         {Objects•PPC}                                         ∂
  54.         -xm sharedlibrary                                    ∂
  55.         -share context                                        ∂
  56.         -@export "{USBInterfacesInternal}USBHIDModule.exp"    ∂
  57.         "{USBLibraries}USBServicesLib"                         ∂
  58.         "{SharedLibraries}InterfaceLib"                     ∂
  59.         "{StubLibsDir}CursorDevicesLib"                        ∂
  60.         "{PPCLibraries}PPCCRuntime.o"
  61.  
  62.  
  63. {USBTabletModuleTarget}    ƒƒ    "{USBInterfacesInternal}PackageVersion.h"    ∂
  64.                         "USBTabletModuleVersion.h"                ∂
  65.                         "USBTabletModule.r"                        ∂
  66.                         {•MondoBuild•}
  67.     Rez                                                        ∂
  68.         -i "{USBInterfacesInternal}"                        ∂
  69.         -i "{RIncludes}"                                    ∂
  70.         "{RIncludes}Types.r"                                ∂
  71.         "USBTabletModule.r"                                        ∂
  72.         -a                                                    ∂
  73.         -o {Targ}
  74.         
  75. "{USBObjects}USBTabletModuleHeader.c.o"    ƒ    "USBTabletModuleHeader.c"            ∂
  76.                                         "{USBInterfacesExternal}USB.h"    ∂
  77.                                         "{USBInterfacesInternal}PackageVersion.h"            ∂
  78.                                         "USBTabletModuleVersion.h"            ∂
  79.                                         "USBTabletModule.h"                        
  80.     {PPCC} USBTabletModuleHeader.c -o {Targ} {PPCCOptions}
  81.  
  82. "{USBObjects}USBTabletModule.c.o"    ƒ    "USBTabletModule.c"                        ∂
  83.                                         "{USBInterfacesExternal}USB.h"    ∂
  84.                                         "USBTabletModule.h"
  85.     {PPCC} USBTabletModule.c -o {Targ} {PPCCOptions}
  86.  
  87. "{USBObjects}USBTabletModuleCDM.c.o"    ƒ    "USBTabletModuleCDM.c"                    ∂
  88.                                     "{USBInterfacesExternal}USB.h"        ∂
  89.                                     "USBTabletModule.h"
  90.     {PPCC} USBTabletModuleCDM.c -o {Targ} {PPCCOptions}
  91.  
  92. Clean ƒƒ
  93.     Delete -i {Objects•PPC}
  94.     Delete -i {USBTabletModuleTarget} 
  95.     Delete -i "{USBReleaseExtensions}USBHIDUSBTabletModule"